import request from '/@/utils/request'

const apiList = {
    // 获取商品列表
    workList: '/pms/pmsSpuInfo/workList',
    // 获取运费模板
    handleSelectTemp: '/pms/pmsFreightTemplate/getList',
    // 获取关联优惠卷
    workCoupon: '/sms/smsCoupon/workList',
	// 运费模板列表
	workTemplate: '/pms/pmsFreightTemplate/workList',
	// 卡卷列表
	cardWork: '/pms/pmsCardVolume/workList',
	// 会员等级列表
	workLevel: '/ums/umsMemberLevel/workList',
	// vip列表
	vipList: '/ums/umsMemberVipCard/workList',
	// 会员权益
	vipRight: '/ums/umsMemberVipCardRight/workList',
	// 问卷调查
	workPaper: '/questionnaire/iQnPaper/workList',
	// 首页轮播图
	workHome: '/sms/iSmsHomeAdv/workList',
	// 分销商品
	saleGoods: '/pms/saleGoods/workList',
	// 分销用户
	saleUser: '/pms/saleOrder/workList',
	// 分销设置
	getAppSetting: '/pms/iPmsApplicationSetting/getSetting',
	// 审批
	applyFor: '/pms/sale/applyFor/workList',
	// 商城公告
	noticeList: '/pms/iPmsNotice/workList',
	// 订单列表
	orderList: '/oms/order/webList',
	// 优惠卷领取记录
	couponLog: '/sms/smsCouponHistory/workList',
	// 获取答题记录
	answerLog: '/questionnaire/iQnPaperCopy/pageList',
	// 获取官网导航
	wnavList: '/ws/wNav/workList',
	// 获取文章分类
	articleClass: '/ws/wArticleClass/getAllList',
	// 获取文章列表
	articleList: '/ws/wArticle/workList',
	// 获取导航栏
	getNavList: '/ws/wNav/getNavList',
	// 校验是否覆盖
	isSubmit: '/ws/wNav/isSubmit',
	// 设置分类
	updateTag: '/pms/pmsKnowledgeArticle/updateTag',
	// 获取分类
	getTag: '/pms/pmsKnowledgeArticle/getTag',
	// 获取活动分类列表
	activityList: '/crm/activityClass/pageList',
	// 获取某一级活动分类
	getActivityType: '/crm/activityClass/getTreeClass',
	// 添加活动分类
	addClassType: '/crm/activityClass/create',
	// 编辑活动分类
	editClassType: '/crm/activityClass/update',
	// 删除活动分类
	delClassType: '/crm/activityClass/remove',
	// 获取服务商列表
	supplierList: '/crm/supplier/pageList',
	// 获取全部服务商
	supplierAll: '/crm/supplier/getAllList',
	// 获取企业人员列表
	getEnterpriseUsers: '/system/sysUser/getEnterpriseUsers',
	// 获取全部阶段
	stageList: '/crm/activityStage/allList',
	// 添加阶段名称
	addStage: '/crm/activityStage/create',
	// 编辑阶段名称
	editStage: '/crm/activityStage/edit',
	// 编辑显示状态
	updateShowList: '/crm/activityStage/updateShowList',
	// 删除阶段
	delStage: '/crm/activityStage/remove',
	// 添加活动
	addMarketActivity: '/crm/marketActivity/create',
	// 获取活动列表
	marketList: '/crm/marketActivity/pageList',
	// 市场活动阶段及统计
	stageCountList: '/crm/marketActivity/statistics',
	// 删除市场活动
	removeMarket: '/crm/marketActivity/remove',
	// 获取市场详情
	marketDetail: '/crm/marketActivity/get/',
	// 获取详情阶段状态
	marketStageInfo: '/crm/activityStage/detailStageList',
	// 更新活动阶段状态
	editDetailStage: '/crm/marketDetailStage/editDetailStage',
	// 市场活动添加关联人
	addMarketUser: '/crm/activityParticipant/create',
	// 市场活动移除关联人
	removeMarketUser: '/crm/activityParticipant/remove',
	// 获取市场活动关联人
	marketUserList: '/crm/activityParticipant/list',
	// 添加活动事项足迹
	addMatterLog: '/crm/marketActivity/addMatterLog',
	// 获取活动事项足迹
	getMatterLog: '/crm/marketActivity/getMatterLog',
	// 获取当前企业事项类型
	matterGroupList: '/matter/agendaMatterGroup/matterModuleItems',
	// 添加市场事项
	createMarketMatter: '/matter/commonMatter/createMarketMatter',
	// 获取市场行动事项
	marketMatterList: '/matter/agendaMatter/marketMatterList',
	// 获取事项统计
	matterStatistics: '/matter/agendaMatter/matterStatistics',
	// 获取事项编码列表group: key,value
	matterCodeDict: '/matter/agendaMatter/matterCodeDict',
	// 获取事项编码列表key,value
	getMatterCodes: '/matter/agendaMatter/getMatterCodes',
	// 获取模块编码
	moduleCode: '/matter/agendaMatter/moduleCode',
	// 获取事项支出金额
	getMarketExpend: '/matter/agendaMatter/getMarketExpend',
	// 获取线索数量
	getThreadNum: '/ums/opportunity/getMarketNUm',
	// 获取文件分类
	fileClassList: '/system/sysFileClass/classList',
	// 添加文件分类
	addFileClass: '/system/sysFileClass/create',
	// 编辑文件分类
	editFileClass: '/system/sysFileClass/edit',
	// 删除文件分类
	removeFileClass: '/system/sysFileClass/remove',
	// 添加文档关联
	fileRelevanceModule: '/system/sysFileRelevanceModule/fileRelevanceModule',
	// 添加协同文档关联
	cooperateFileRelevanceModule:'/system/sysFileRelevanceModule/cooperateFileRelevanceModule',
	// 获取文档统计
	docNumber: '/system/sysFileRelevanceModule/docNumber',
	// 获取关联项的文档和附件
	relevanceFile: '/system/sysFileRelevanceModule/relevanceFile',
	// 获取分享用户列表
	getShareUserList: '/system/sysUser/getShareUserList',
	// 文档添加分享者
	createBatch: '/system/sysUserFileRelevance/createBatch',
	// 获取活动用品列表
	actProductList: '/crm/activityProduct/pageList',
	// 添加活动用品
	createProduct: '/crm/activityProduct/create',
	// 修改活动用品
	editProduct: '/crm/activityProduct/edit',
	// 删除活动用品
	removeProduct: '/crm/activityProduct/remove',
	// 添加领取记录
	addProductLog: '/crm/crmActivityProductLog/create',
	// 获取领取记录
	productLogList: '/crm/crmActivityProductLog/pageList',
	// 获取市场年度统计
	getEcharts: '/crm/marketActivity/getEcharts',
	// 一级分类数据
	classGroup: '/crm/marketActivity/classGroup',
	// 获取底部统计数据
	marketAllList: '/crm/marketActivity/allList',
	// 市场线索详情
	marketPage: '/ums/opportunity/marketPage',
	// 获取客户列表
	customerList: '/ums/customer/customerList',
	// 获取企业列表
	getEnterprises: '/system/sysEnterprise/getAllByIds',
	// 最佳商品列表
	getSaleGoods: '/pms/pmsSkuinfo/saleList',
	// 17购分销设置
	sevenSetting: '/pms/highSaleSetting/get',
	// 小七收益订单
	sevenOrders: '/pms/highSaleRevenueLog/sevenCustomer',
	// 根据code获取字典
	getDictByCodes: '/system/dict/getDictCodeMap',
	// 获取所有字典类型
	allDictLists: '/system/dict/allDictLists',
	// 获取文档列表
	esDocumentList: '/system/esDocument/search',
	// 移除文档
	removeDoc: '/system/esDocument/delOneEs',
	// 文档下载
	uploadFile: '/file/filaAttach/downAllFile',
	// 获取可共享员工列表
	shareDocUsers: '/system/sysUser/shareDocUsers',
	// 获取已共享可共享员工列表
	shareEdDocUsers: '/system/sysUser/shareEdDocUsers',
	// 文档共享
	addShareDoc: '/system/sysUserFileRelevance/addShareDocBatch',
	// 文档模块字典
	moduleCodes: '/system/esDocument/moduleCodes',
	// 改价
	editOrderPrice: '/oms/omsOrderAlterPrice/create',
	// 订单详情
	getOrderById: '/oms/order',
	// 订单归属人
	getBelongerName: '/system/sysUser/getUserInfo',
	// 获取客户信息
	isMyByMatching: '/ums/customer/isMyByMatching',
	// 订单直发到采购单
	orderSendPurchase: '/purchase/purchaseOrder/beFromOrderSend',
	// 获取客户所属企业
	getCustomerShop: '/system/sysEnterprise/getCustomerShops',
	// 获取客户个人企业
	getCustomerOneShop: '/system/sysEnterprise/myPersonageShop',
	// 获取可操作的企业
	enterpriseInfo: '/system/sysEnterprise/enterpriseInfo',
	// 快速注册小程序
	quickRegisterApp: '/sso/wx/registerMiniprogram',
	// 获取授权二维码
	appAuthCodeUrl: '/sso/wx/appAuth',
	// 获取授权状态
	getTaskStatus: '/sso/wx/getTaskStatus',
	// 获取绑定域名操作记录
	getHostBingidngs: '/pms/pmsApplicationHostSetting/pageList',
	// 获取绑定域名任务详情
	hostBingingInfo: '/pms/pmsApplicationHostSetting/get',
	// 启用主域名
	startHostName: '/pms/pmsApplicationHostSetting/hostDomain',
	// 正在进行的任务
	getUnderwayHost: '/pms/pmsApplicationHostSetting/underwayTask',
	// 添加绑定记录
	addHostSetting: '/pms/pmsApplicationHostSetting/create',
	// 编辑绑定记录
	editHostSetting: '/pms/pmsApplicationHostSetting/update',
	// 获取支付设置
	getPaySetting: '/pms/pmsApplicationPay/get',
	// 编辑支付状态
	editPaySetting: '/pms/pmsApplicationPay/update',
	// 添加表单设置
	saveFormSetting: '/pms/pmsSpuFormSetting/create',
	// 获取表单设置
	spuFormSetting: '/pms/pmsSpuFormSetting/get',
	// 编辑表单设置
	editFormSetting: '/pms/pmsSpuFormSetting/update',
	// 删除表单设置
	delFormSetting: '/pms/pmsSpuFormSetting/remove',
	// 获取店铺用户
	getCardUserList: '/ums/member/getCardUserList',
	// 获取会员卡卷
	getMyCards: '/ums/umsMemberCardVolumeRelation/getMyCards',
	// 获取商品评论列表
	getCommentList: '/pms/pmsSpuComment/list',
	// 编辑企业/组织
	enterpriseInfoEdit: '/system/sysEnterprise/edit',
	// 获取客户联系人
	getCustomerContacts: '/ums/customerContacts/query',
	// 订单号核销
	orderFinish: '/oms/order/orderFinish',
	// 订单号获取详情
	orderInfoBySn: '/oms/order/orderInfoBySn',
	// 匹配企业
	enterpriseFieldMatching: '/system/sysEnterprise/fieldMatching',
	// 获取物流公司列表
	companyList: '/oms/omsDeliveryCompany/list',
	// 报价单列表（售）
	customerQuotes: '/ums/umsCustomerQuote/pageList',
	// 获取当前登录企业信息
	nowEnterpriseInfo: '/system/sysEnterprise/getInfo',
	// 获取客户经理
	customerUserList: '/ums/customer/getManagers',
	// 添加销售报价单
	addOrderQuote: '/ums/umsCustomerQuote/create',
	// 编辑销售报价单
	editOrderQuote: '/ums/umsCustomerQuote/update',
	// 删除销售报价单
	removeOrderQuote: '/ums/umsCustomerQuote/remove',
	// 获取用户供应商
	customerSuppliers: '/ums/customer/existSupplier',
	// 获取我在谁的供应商列表
	myExistSupplierList: '/purchase/supplier/myExistSupplierList',
	// 获取商品详情项
	orderSkuList: '/pms/pmsSkuinfo/orderSkuList',
	// 发货申请单列表
	deliveryApplys: '/oms/omsDeliveryApply/pageList',
	// 提交申请发货单
	applyForDelivery: '/oms/omsDeliveryApply/create',
	// 发货申请退回
	applyReturnById: '/oms/omsDeliveryApply/return',
	// 未读申请发货消息数量
	applyUnreadMsgNum: '/oms/omsDeliveryApply/unreadMsgNum',
	// 申请发货消息已阅读
	applyMsgRead: '/oms/omsDeliveryApply/readMsg',
	// 发货单列表
	deliveryList: '/oms/delivery/pageList',
	// 获取可评价商品
	commentsByOrderId: '/pms/pmsSpuComment/getOrderComment',
	// 提交商品评价
	submitCommentInfo: '/pms/pmsSpuComment/create',
	// 订单生效
	editOrderValid: '/oms/order/editOrderValid',
	// 订单审批 -> 同步到采购单
	approveSyncOrder: '/oms/order/approveSyncOrder',
	// 报价单审批 -> 发送到采购单
	quoteSyncPurchase: '/ums/umsCustomerQuote/liftApproval',
	// 订单签署
	signingOrOrder: '/oms/omsOrderSignature/upsert',
	// 签署单统计
	signatureStatistics: '/oms/order/getSignStatistics',
	// 客户来源
	customerSource: '/ums/customerSource/get',
	// 订单完结
	finishAndSink: '/oms/order/finishAndSink',
	// 订单抹零
	orderEraseMoney: '/oms/order/orderEraseMoney',
	// 上传回执
	uploadReceipts: '/oms/omsOrderReceipt/create',
	// 订单已支付
	orderIsPayment: '/oms/order/payment',
	// 发起售后申请
	addReturnApply: '/oms/returnApply/create',
	// 获取店铺信息
	salesReturnAddress: '/ums/umsMerchants/salesReturnAddress',
	// 获取售后列表
	returnApplyList: '/oms/returnApply/pageList',
	// 获取钱执行人列表
	moneyExecutorList: '/system/sysUser/getMoneyConfirmUsers',
	// 获取仓库执行人列表
	libExecutorList: '/system/sysUser/libExecutorUsers',
	// 获取事项是否需要审批
	matterIsApprove: '/oms/returnApply/matterIsApprove',
	// 是否拥有销售身份
	myRoleIsSale: '/oms/omsDeliveryApply/myRoleIsSale',
	// 售后 -> 同意/拒绝
	consentAfterSale: '/oms/returnApply/afterSale',
}

export default {
    apiList,
    // 接口列表
	workList: (params?: object) => {
		return request({
			url: apiList.workList,
			method: 'post',
			data: params,
		})
	},
	handleSelectTemp: (params?: object) => {
		return request({
			url: apiList.handleSelectTemp,
			method: 'get',
			params,
		})
	},
    workCoupon: (params?: object) => {
		return request({
			url: apiList.workCoupon,
			method: 'post',
			data: params,
		})
	},
    workTemplate: (params?: object) => {
		return request({
			url: apiList.workTemplate,
			method: 'post',
			data: params,
		})
	},
    cardWork: (params?: object) => {
		return request({
			url: apiList.cardWork,
			method: 'post',
			data: params,
		})
	},
    workLevel: (params?: object) => {
		return request({
			url: apiList.workLevel,
			method: 'post',
			data: params,
		})
	},
    vipList: (params?: object) => {
		return request({
			url: apiList.vipList,
			method: 'post',
			data: params,
		})
	},
    vipRight: (params?: object) => {
		return request({
			url: apiList.vipRight,
			method: 'post',
			data: params,
		})
	},
    workPaper: (params?: object) => {
		return request({
			url: apiList.workPaper,
			method: 'post',
			data: params,
		})
	},
    workHome: (params?: object) => {
		return request({
			url: apiList.workHome,
			method: 'post',
			data: params,
		})
	},
	saleGoods: (params?: object) => {
		return request({
			url: apiList.saleGoods,
			method: 'get',
			params,
		})
	},
	saleUser: (params?: object) => {
		return request({
			url: apiList.saleUser,
			method: 'post',
			data: params,
		})
	},
	getAppSetting: (params?: object) => {
		return request({
			url: apiList.getAppSetting,
			method: 'get',
			params,
		})
	},
	applyFor: (params?: object) => {
		return request({
			url: apiList.applyFor,
			method: 'post',
			data: params,
		})
	},
	noticeList: (params?: object) => {
		return request({
			url: apiList.noticeList,
			method: 'post',
			data: params,
		})
	},
	orderList: (params?: object) => {
		return request({
			url: apiList.orderList,
			method: 'get',
			params,
		})
	},
	couponLog: (params?: object) => {
		return request({
			url: apiList.couponLog,
			method: 'post',
			data: params,
		})
	},
	answerLog: (params?: object) => {
		return request({
			url: apiList.answerLog,
			method: 'post',
			data: params,
		})
	},
	wnavList: (params?: object) => {
		return request({
			url: apiList.wnavList,
			method: 'post',
			data: params,
		})
	},
	articleClass: (params?: object) => {
		return request({
			url: apiList.articleClass,
			method: 'post',
			data: params,
		})
	},
	articleList: (params?: object) => {
		return request({
			url: apiList.articleList,
			method: 'post',
			data: params,
		})
	},
	getNavList: (params?: object) => {
		return request({
			url: apiList.getNavList,
			method: 'get',
			params,
		})
	},
	isSubmit: (params?: object) => {
		return request({
			url: apiList.isSubmit,
			method: 'post',
			data: params,
		})
	},
	updateTag: (params?: object) => {
		return request({
			url: apiList.updateTag,
			method: 'get',
			params,
		})
	},
	getTag: (params?: object) => {
		return request({
			url: apiList.getTag,
			method: 'get',
			params,
		})
	},
	activityList: (params?: object) => {
		return request({
			url: apiList.activityList,
			method: 'post',
			data: params,
		})
	},
	getActivityType: (params?: object) => {
		return request({
			url: apiList.getActivityType,
			method: 'get',
			params,
		})
	},
	addClassType: (params?: object) => {
		return request({
			url: apiList.addClassType,
			method: 'post',
			data: params,
		})
	},
	editClassType: (params?: object) => {
		return request({
			url: apiList.editClassType,
			method: 'post',
			data: params,
		})
	},
	delClassType: (params?: object) => {
		return request({
			url: apiList.delClassType,
			method: 'get',
			params,
		})
	},
	supplierList: (params?: object) => {
		return request({
			url: apiList.supplierList,
			method: 'post',
			data: params,
		})
	},
	getEnterpriseUsers: (params?: object) => {
		return request({
			url: apiList.getEnterpriseUsers,
			method: 'get',
			params,
		})
	},
	stageList: (params?: object) => {
		return request({
			url: apiList.stageList,
			method: 'post',
			data: params,
		})
	},
	addStage: (params?: object) => {
		return request({
			url: apiList.addStage,
			method: 'post',
			data: params,
		})
	},
	editStage: (params?: object) => {
		return request({
			url: apiList.editStage,
			method: 'post',
			data: params,
		})
	},
	updateShowList: (params?: object) => {
		return request({
			url: apiList.updateShowList,
			method: 'get',
			params,
		})
	},
	delStage: (params?: object) => {
		return request({
			url: apiList.delStage,
			method: 'get',
			params,
		})
	},
	addMarketActivity: (params?: object) => {
		return request({
			url: apiList.addMarketActivity,
			method: 'post',
			data: params,
		})
	},
	marketList: (params?: object) => {
		return request({
			url: apiList.marketList,
			method: 'post',
			data: params,
		})
	},
	stageCountList: (params?: object) => {
		return request({
			url: apiList.stageCountList,
			method: 'get',
			params,
		})
	},
	removeMarket: (params?: object) => {
		return request({
			url: apiList.removeMarket,
			method: 'get',
			params,
		})
	},
	marketDetail: (params?: object) => {
		return request({
			url: apiList.marketDetail + params,
			method: 'get',
		})
	},
	marketStageInfo: (params?: object) => {
		return request({
			url: apiList.marketStageInfo ,
			method: 'get',
			params,
		})
	},
	editDetailStage: (params?: object) => {
		return request({
			url: apiList.editDetailStage ,
			method: 'get',
			params,
		})
	},
	addMarketUser: (params?: object) => {
		return request({
			url: apiList.addMarketUser,
			method: 'post',
			data: params,
		})
	},
	removeMarketUser: (params?: object) => {
		return request({
			url: apiList.removeMarketUser ,
			method: 'get',
			params,
		})
	},
	marketUserList: (params?: object) => {
		return request({
			url: apiList.marketUserList ,
			method: 'get',
			params,
		})
	},
	addMatterLog: (params?: object) => {
		return request({
			url: apiList.addMatterLog ,
			method: 'get',
			params,
		})
	},
	getMatterLog: (params?: object) => {
		return request({
			url: apiList.getMatterLog ,
			method: 'get',
			params,
		})
	},
	matterGroupList: (params?: object) => {
		return request({
			url: apiList.matterGroupList ,
			method: 'get',
			params,
		})
	},
	createMarketMatter: (params?: object) => {
		return request({
			url: apiList.createMarketMatter,
			method: 'post',
			data: params,
		})
	},
	marketMatterList: (params?: object) => {
		return request({
			url: apiList.marketMatterList,
			method: 'post',
			data: params,
		})
	},
	matterStatistics: (params?: object) => {
		return request({
			url: apiList.matterStatistics,
			method: 'get',
			params,
		})
	},
	matterCodeDict: (params?: object) => {
		return request({
			url: apiList.matterCodeDict,
			method: 'get',
			params,
		})
	},
	getMatterCodes: (params?: object) => {
		return request({
			url: apiList.getMatterCodes,
			method: 'get',
			params,
		})
	},
	moduleCode: (params?: object) => {
		return request({
			url: apiList.moduleCode,
			method: 'get',
			params,
		})
	},
	getMarketExpend: (params?: object) => {
		return request({
			url: apiList.getMarketExpend,
			method: 'get',
			params,
		})
	},
	getThreadNum: (params?: object) => {
		return request({
			url: apiList.getThreadNum,
			method: 'get',
			params,
		})
	},
	fileClassList: (params?: object) => {
		return request({
			url: apiList.fileClassList,
			method: 'get',
			params,
		})
	},
	addFileClass: (params?: object) => {
		return request({
			url: apiList.addFileClass,
			method: 'post',
			data: params,
		})
	},
	editFileClass: (params?: object) => {
		return request({
			url: apiList.editFileClass,
			method: 'post',
			data: params,
		})
	},
	removeFileClass: (params?: object) => {
		return request({
			url: apiList.removeFileClass,
			method: 'get',
			params,
		})
	},
	fileRelevanceModule: (params?: Array<Object>) => {
		return request({
			url: apiList.fileRelevanceModule,
			method: 'post',
			data: params,
		})
	},
	cooperateFileRelevanceModule: (params?: Object) => {
		return request({
			url: apiList.cooperateFileRelevanceModule,
			method: 'post',
			data: params,
		})
	},
	docNumber: (params?: object) => {
		return request({
			url: apiList.docNumber,
			method: 'get',
			params,
		})
	},
	relevanceFile: (params?: object) => {
		return request({
			url: apiList.relevanceFile,
			method: 'get',
			params,
		})
	},
	getShareUserList: (params?: object) => {
		return request({
			url: apiList.getShareUserList,
			method: 'get',
			params,
		})
	},
	createBatch: (params?: Array<Object>) => {
		return request({
			url: apiList.createBatch,
			method: 'post',
			data: params,
		})
	},
	actProductList: (params?: object) => {
		return request({
			url: apiList.actProductList,
			method: 'post',
			data: params,
		})
	},
	createProduct: (params?: object) => {
		return request({
			url: apiList.createProduct,
			method: 'post',
			data: params,
		})
	},
	editProduct: (params?: object) => {
		return request({
			url: apiList.editProduct,
			method: 'post',
			data: params,
		})
	},
	removeProduct: (params?: object) => {
		return request({
			url: apiList.removeProduct,
			method: 'get',
			params,
		})
	},
	addProductLog: (params?: object) => {
		return request({
			url: apiList.addProductLog,
			method: 'post',
			data: params,
		})
	},
	productLogList: (params?: object) => {
		return request({
			url: apiList.productLogList,
			method: 'post',
			data: params,
		})
	},
	supplierAll: (params?: object) => {
		return request({
			url: apiList.supplierAll,
			method: 'get',
			params,
		})
	},
	getEcharts: (params?: object) => {
		return request({
			url: apiList.getEcharts,
			method: 'get',
			params,
		})
	},
	classGroup: (params?: object) => {
		return request({
			url: apiList.classGroup,
			method: 'get',
			params,
		})
	},
	marketAllList: (params?: object) => {
		return request({
			url: apiList.marketAllList,
			method: 'post',
			data: params,
		})
	},
	marketPage: (params?: object) => {
		return request({
			url: apiList.marketPage,
			method: 'post',
			data: params,
		})
	},
	customerList: (params?: object) => {
		return request({
			url: apiList.customerList,
			method: 'get',
			params,
		})
	},
	getEnterprises: (params?: object) => {
		return request({
			url: apiList.getEnterprises,
			method: 'get',
			params,
		})
	},
	getSaleGoods: (params?: object) => {
		return request({
			url: apiList.getSaleGoods,
			method: 'post',
			data: params,
		})
	},
	sevenSetting: (params?: object) => {
		return request({
			url: apiList.sevenSetting,
			method: 'get',
			params,
		})
	},
	sevenOrders: (params?: object) => {
		return request({
			url: apiList.sevenOrders,
			method: 'post',
			data: params,
		})
	},
	getDictByCodes: (params?: object) => {
		return request({
			url: apiList.getDictByCodes,
			method: 'post',
			data: params,
		})
	},
	allDictLists: (params?: object) => {
		return request({
			url: apiList.allDictLists,
			method: 'get',
			params,
		})
	},
	esDocumentList: (params?: object) => {
		return request({
			url: apiList.esDocumentList,
			method: 'post',
			data: params,
		})
	},
	removeDoc: (id?: String) => {
		return request({
			url: apiList.removeDoc + '/' + id,
			method: 'get',
		})
	},
	uploadFile: (params?: object) => {
		return request({
			url: apiList.uploadFile,
			responseType: "blob",
			method: 'post',
			data: params,
		})
	},
	shareDocUsers: (params?: object) => {
		return request({
			url: apiList.shareDocUsers,
			method: 'get',
			params,
		})
	},
	shareEdDocUsers: (id?: String) => {
		return request({
			url: apiList.shareEdDocUsers + '/' + id,
			method: 'get',
		})
	},
	addShareDoc: (params?: object) => {
		return request({
			url: apiList.addShareDoc,
			method: 'post',
			data: params,
		})
	},
	moduleCodes: (params?: object) => {
		return request({
			url: apiList.moduleCodes,
			method: 'get',
			params,
		})
	},
	editOrderPrice: (params?: object) => {
		return request({
			url: apiList.editOrderPrice,
			method: 'post',
			data: params,
		})
	},
	getOrderById: (id?: String) => {
		return request({
			url: apiList.getOrderById + '/' + id,
			method: 'get',
		})
	},
	getBelongerName: (params?: object) => {
		return request({
			url: apiList.getBelongerName,
			method: 'get',
			params,
		})
	},
	isMyByMatching: (params?: object) => {
		return request({
			url: apiList.isMyByMatching,
			method: 'get',
			params,
		})
	},
	orderSendPurchase: (params?: object) => {
		return request({
			url: apiList.orderSendPurchase,
			method: 'post',
			data: params,
		})
	},
	getCustomerShop: (params?: object) => {
		return request({
			url: apiList.getCustomerShop,
			method: 'get',
			params,
		})
	},
	getCustomerOneShop: (params?: object) => {
		return request({
			url: apiList.getCustomerOneShop,
			method: 'get',
			params,
		})
	},
	enterpriseInfo: (params?: object) => {
		return request({
			url: apiList.enterpriseInfo,
			method: 'get',
			params,
		})
	},
	quickRegisterApp: (params?: object) => {
		return request({
			url: apiList.quickRegisterApp,
			method: 'post',
			data: params,
		})
	},
	appAuthCodeUrl: (params?: object) => {
		return request({
			url: apiList.appAuthCodeUrl,
			method: 'get',
			params,
		})
	},
	getTaskStatus: (params?: object) => {
		return request({
			url: apiList.getTaskStatus,
			method: 'get',
			params,
		})
	},
	getHostBingidngs: (params?: object) => {
		return request({
			url: apiList.getHostBingidngs,
			method: 'post',
			data: params,
		})
	},
	hostBingingInfo: (id?: String) => {
		return request({
			url: apiList.hostBingingInfo + '/' + id,
			method: 'get',
		})
	},
	startHostName: (params?: object) => {
		return request({
			url: apiList.startHostName,
			method: 'get',
			params,
		})
	},
	getUnderwayHost: (params?: object) => {
		return request({
			url: apiList.getUnderwayHost,
			method: 'get',
			params,
		})
	},
	addHostSetting: (params?: object) => {
		return request({
			url: apiList.addHostSetting,
			method: 'post',
			data: params,
		})
	},
	editHostSetting: (params?: object) => {
		return request({
			url: apiList.editHostSetting,
			method: 'post',
			data: params,
		})
	},
	getPaySetting: (params?: object) => {
		return request({
			url: apiList.getPaySetting,
			method: 'get',
			params,
		})
	},
	editPaySetting: (params?: object) => {
		return request({
			url: apiList.editPaySetting,
			method: 'post',
			data: params,
		})
	},
	saveFormSetting: (params?: object) => {
		return request({
			url: apiList.saveFormSetting,
			method: 'post',
			data: params,
		})
	},
	editFormSetting: (params?: object) => {
		return request({
			url: apiList.editFormSetting,
			method: 'post',
			data: params,
		})
	},
	spuFormSetting: (id?: String) => {
		return request({
			url: apiList.spuFormSetting + '/' + id,
			method: 'get',
		})
	},
	delFormSetting: (id?: String) => {
		return request({
			url: apiList.delFormSetting + '/' + id,
			method: 'get',
		})
	},
	getCardUserList: (params?: object) => {
		return request({
			url: apiList.getCardUserList,
			method: 'get',
			params,
		})
	},
	getMyCards: (params?: object) => {
		return request({
			url: apiList.getMyCards,
			method: 'get',
			params,
		})
	},
	getCommentList: (params?: object) => {
		return request({
			url: apiList.getCommentList,
			method: 'get',
			params,
		})
	},
	enterpriseInfoEdit: (params?: object) => {
		return request({
			url: apiList.enterpriseInfoEdit,
			method: 'post',
			data: params,
		})
	},
	getCustomerContacts: (params?: object) => {
		return request({
			url: apiList.getCustomerContacts,
			method: 'get',
			params,
		})
	},
	orderFinish: (params?: object) => {
		return request({
			url: apiList.orderFinish,
			method: 'get',
			params,
		})
	},
	orderInfoBySn: (params?: object) => {
		return request({
			url: apiList.orderInfoBySn,
			method: 'get',
			params,
		})
	},
	enterpriseFieldMatching: (params?: object) => {
		return request({
			url: apiList.enterpriseFieldMatching,
			method: 'get',
			params,
		})
	},
	companyList: (params?: object) => {
		return request({
			url: apiList.companyList,
			method: 'get',
			params,
		})
	},
	customerQuotes: (params?: object) => {
		return request({
			url: apiList.customerQuotes,
			method: 'post',
			data: params,
		})
	},
	nowEnterpriseInfo: (params?: object) => {
		return request({
			url: apiList.nowEnterpriseInfo,
			method: 'get',
			params,
		})
	},
	customerUserList: (params?: object) => {
		return request({
			url: apiList.customerUserList,
			method: 'get',
			params,
		})
	},
	addOrderQuote: (params?: object) => {
		return request({
			url: apiList.addOrderQuote,
			method: 'post',
			data: params,
		})
	},
	editOrderQuote: (params?: object) => {
		return request({
			url: apiList.editOrderQuote,
			method: 'post',
			data: params,
		})
	},
	removeOrderQuote: (params?: object) => {
		return request({
			url: apiList.removeOrderQuote,
			method: 'get',
			params,
		})
	},
	customerSuppliers: (params?: object) => {
		return request({
			url: apiList.customerSuppliers,
			method: 'get',
			params,
		})
	},
	myExistSupplierList: (params?: object) => {
		return request({
			url: apiList.myExistSupplierList,
			method: 'get',
			params,
		})
	},
	orderSkuList: (params?: object) => {
		return request({
			url: apiList.orderSkuList,
			method: 'post',
			data: params,
		})
	},
	deliveryApplys: (params?: object) => {
		return request({
			url: apiList.deliveryApplys,
			method: 'post',
			data: params,
		})
	},
	applyForDelivery: (params?: object) => {
		return request({
			url: apiList.applyForDelivery,
			method: 'post',
			data: params,
		})
	},
	applyReturnById: (id?: String) => {
		return request({
			url: apiList.applyReturnById + '/' + id,
			method: 'get',
		})
	},
	applyUnreadMsgNum: (params?: object) => {
		return request({
			url: apiList.applyUnreadMsgNum,
			method: 'get',
			params,
		})
	},
	applyMsgRead: (params?: object) => {
		return request({
			url: apiList.applyMsgRead,
			method: 'get',
			params,
		})
	},
	deliveryList: (params?: object) => {
		return request({
			url: apiList.deliveryList,
			method: 'post',
			data: params,
		})
	},
	commentsByOrderId: (params?: object) => {
		return request({
			url: apiList.commentsByOrderId,
			method: 'post',
			data: params,
		})
	},
	submitCommentInfo: (params?: object) => {
		return request({
			url: apiList.submitCommentInfo,
			method: 'post',
			data: params,
		})
	},
	editOrderValid: (params?: object) => {
		return request({
			url: apiList.editOrderValid,
			method: 'get',
			params,
		})
	},
	approveSyncOrder: (params?: object) => {
		return request({
			url: apiList.approveSyncOrder,
			method: 'post',
			data: params,
		})
	},
	signingOrOrder: (params?: object) => {
		return request({
			url: apiList.signingOrOrder,
			method: 'post',
			data: params,
		})
	},
	signatureStatistics: (params?: object) => {
		return request({
			url: apiList.signatureStatistics,
			method: 'get',
			params,
		})
	},
	customerSource: (id?: String) => {
		return request({
			url: apiList.customerSource + '/' + id,
			method: 'get',
		})
	},
	finishAndSink: (params?: object) => {
		return request({
			url: apiList.finishAndSink,
			method: 'get',
			params,
		})
	},
	quoteSyncPurchase: (params?: object) => {
		return request({
			url: apiList.quoteSyncPurchase,
			method: 'post',
			data: params,
		})
	},
	orderEraseMoney: (params?: object) => {
		return request({
			url: apiList.orderEraseMoney,
			method: 'post',
			data: params,
		})
	},
	uploadReceipts: (params?: object) => {
		return request({
			url: apiList.uploadReceipts,
			method: 'post',
			data: params,
		})
	},
	orderIsPayment: (params?: object) => {
		return request({
			url: apiList.orderIsPayment,
			method: 'get',
			params,
		})
	},
	addReturnApply: (params?: object) => {
		return request({
			url: apiList.addReturnApply,
			method: 'post',
			data: params,
		})
	},
	salesReturnAddress: (params?: object) => {
		return request({
			url: apiList.salesReturnAddress,
			method: 'get',
			params,
		})
	},
	returnApplyList: (params?: object) => {
		return request({
			url: apiList.returnApplyList,
			method: 'post',
			data: params,
		})
	},
	moneyExecutorList: (params?: object) => {
		return request({
			url: apiList.moneyExecutorList,
			method: 'get',
			params,
		})
	},
	libExecutorList: (params?: object) => {
		return request({
			url: apiList.libExecutorList,
			method: 'get',
			params,
		})
	},
	matterIsApprove: (params?: object) => {
		return request({
			url: apiList.matterIsApprove,
			method: 'get',
			params,
		})
	},
	myRoleIsSale: (params?: object) => {
		return request({
			url: apiList.myRoleIsSale,
			method: 'get',
			params,
		})
	},
	consentAfterSale: (params?: object) => {
		return request({
			url: apiList.consentAfterSale,
			method: 'post',
			data: params,
		})
	},

}
